package com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.Length;

/**
 * Created by tianrui on 2016/7/19.
 */
public class BrokerPageVO<T extends UserVO> extends PageVO{

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    /**
     * 后台所需参数
     * */
    //委托方式
    @Length(max = 1)
    protected String op_entrust_way;

    //站点地址
    @Length(max = 255)
    protected String op_station;

    //终端类型
    @Length(max = 2)
    protected String terminal_type;

    //用户口令
    @Length(max = 512)
    protected String user_key;

    //用户信息
    protected T user;

    //券商机构编号
    protected String company_id;

    //发送券商机编号
    protected String sendercomp_id;

    //交易密码
    protected String password;

    //操作分支机构
    protected int op_branch_no;

    //分支机构
    protected int branch_no;

    //密码类型
    protected String password_type;

    public String getOp_entrust_way() {
        return op_entrust_way;
    }

    public void setOp_entrust_way(String op_entrust_way) {
        this.op_entrust_way = op_entrust_way;
    }

    public String getOp_station() {
        return op_station;
    }

    public void setOp_station(String op_station) {
        this.op_station = op_station;
    }

    public String getTerminal_type() {
        return terminal_type;
    }

    public void setTerminal_type(String terminal_type) {
        this.terminal_type = terminal_type;
    }

    public String getUser_key() {
        return user_key;
    }

    public void setUser_key(String user_key) {
        this.user_key = user_key;
    }

    public T getUser() {
        return user;
    }

    public void setUser(T user) {
        this.user = user;
    }

    @Override
    public String getCompany_id() {
        return company_id;
    }

    @Override
    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    public String getSendercomp_id() {
        return sendercomp_id;
    }

    public void setSendercomp_id(String sendercomp_id) {
        this.sendercomp_id = sendercomp_id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getOp_branch_no() {
        return op_branch_no;
    }

    public void setOp_branch_no(int op_branch_no) {
        this.op_branch_no = op_branch_no;
    }

    public int getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(int branch_no) {
        this.branch_no = branch_no;
    }

    public String getPassword_type() {
        return password_type;
    }

    public void setPassword_type(String password_type) {
        this.password_type = password_type;
    }

    @Override
    public String toString() {
        return "BrokerPageVO{" +
                "op_entrust_way='" + op_entrust_way + '\'' +
                ", op_station='" + op_station + '\'' +
                ", terminal_type='" + terminal_type + '\'' +
                ", user_key='" + user_key + '\'' +
                ", user=" + user +
                ", company_id='" + company_id + '\'' +
                ", sendercomp_id='" + sendercomp_id + '\'' +
                ", password='" + password + '\'' +
                ", op_branch_no=" + op_branch_no +
                ", branch_no=" + branch_no +
                ", password_type='" + password_type + '\'' +
                '}';
    }
}
